home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / mac / DirectX SDK / DXSDK / samples / Multimedia / Media / smpte_wipe.xtl < prev    next >
Text File  |  2001-10-08  |  2KB  |  42 lines

  1. <!-- This example shows SMPTE wipe #130 (a heart) as the transition.  It   -->
  2. <!-- demonstrates the parameters you can set. (It is a tall, pointy heart  -->
  3. <!-- and uses an array of 2 hearts across by 3 down).  Also, the border    -->
  4. <!-- color is slowly changed over time from green to black.                -->
  5. <!-- previewmode="0" is used so every frame will be shown during preview,  -->
  6. <!-- even if you are on a slow machine.                                    -->
  7.  
  8. <!-- NOTE: If you install the DirectX SDK to a path other than c:\dxsdk,  -->
  9. <!-- then you must change the media path for each clip src below.         -->
  10.  
  11.  
  12. <timeline>
  13.   <group type="video" previewmode="0">
  14.     <track>
  15.     <clip src="c:\dxsdk\samples\multimedia\media\ruby.avi" start="0" stop="6" mstart="0" />
  16.     </track>
  17.     <track>
  18.     <clip src="c:\dxsdk\samples\multimedia\media\highway.avi"      start="2" stop="8" mstart="0" />
  19.         <transition clsid="{dE75D012-7A65-11D2-8CEA-00A0C9441E20}" start="2" stop="6" >
  20.             <param name="MaskNum"     value="130"/>
  21.             <param name="ScaleY"      value="2"/>
  22.             <param name="ReplicateX"  value="2"/>
  23.             <param name="ReplicateY"  value="3"/>
  24.             <param name="BorderColor" value="65280">
  25.         <linear time="4" value="0"/>
  26.         </param>
  27.             <param name="BorderWidth"    value="2"/>
  28.             <param name="BorderSoftness" value="5"/>
  29.         </transition>
  30.     </track>
  31.   </group>
  32.  
  33.   <group type="audio">
  34.     <track>
  35.     <clip src="c:\dxsdk\samples\multimedia\media\track2.mp3" start="0" stop="6" mstart="0"/>
  36.     </track>
  37.     <track>
  38.     <clip src="c:\dxsdk\samples\multimedia\media\track3.mp3" start="4" stop="8" mstart="4" />
  39.     </track>
  40.   </group>
  41. </timeline>
  42.